$theme_background: #f9f4e7; //项目主题色
$global_size: 32rpx; //全局字体大小
$white_color: #ffffff; //全局白色字体
$black_color: #333; //全局黑色字体

//字体(字体大小,字体颜色,文本字体,字体粗细)
@mixin font_size($text_size, $text_color, $text_font, $text_weight) {
	font-size: $text_size;
	color: $text_color;
	font-family: $text_font;
	font-weight: $text_weight;
}

//grid布局(分几分,每份的宽度,上线间距)
@mixin grid_body($number, $widht, $gap) {
	display: grid;
	grid-template-columns: repeat($number, $widht);
	grid-row-gap: $gap;
	justify-content: space-between;
}

//多行文本省略(行数)
@mixin text_ellipsis($number) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: $number;
	overflow: hidden;
}
